package org.xxx.test.client;

import org.springframework.web.bind.annotation.RequestMethod;
import org.xxx.common.constant.ApiConstant;
import org.xxx.common.constant.SysSourceEnum;

public enum ApiInfoEnum {


    _0001(SysSourceEnum.SU_PU, RequestMethod.GET, ApiConstant.API_0001),
    _0002(SysSourceEnum.SU_PU, RequestMethod.POST, ApiConstant.API_0002),
    _0003(SysSourceEnum.SU_PU, RequestMethod.GET, ApiConstant.API_0003),
    _0901(SysSourceEnum.SU_PU, RequestMethod.POST, ApiConstant.API_0901),
    _0902(SysSourceEnum.SU_PU, RequestMethod.POST, ApiConstant.API_0902),
    _0903(SysSourceEnum.SU_PU, RequestMethod.POST, ApiConstant.API_0903),
    _0904(SysSourceEnum.SU_PU, RequestMethod.GET, ApiConstant.API_0904),
    _0905(SysSourceEnum.SU_PU, RequestMethod.POST, ApiConstant.API_0905),
    _0906(SysSourceEnum.SU_PU, RequestMethod.GET, ApiConstant.API_0906),
    _0907(SysSourceEnum.SU_PU, RequestMethod.GET, ApiConstant.API_0907),
    _0908(SysSourceEnum.SU_PU, RequestMethod.POST, ApiConstant.API_0908),
    _0909(SysSourceEnum.SU_PU, RequestMethod.POST, ApiConstant.API_0909);

    SysSourceEnum souce;
    String url;
    RequestMethod method;


    ApiInfoEnum(SysSourceEnum souce, RequestMethod method, String url) {
	this.souce = souce;
	this.url = url;
	this.method = method;
    }

    public SysSourceEnum getSouce() {
	return souce;
    }

    public String getUrl() {
	return url;
    }

    public RequestMethod getMethod() {
	return method;
    }
}
